<br/><br/><table cellspacing=0 cellpadding=0 border=0 width=100%>
<?php
foreach($elenco as $key => $value){
	if($value['visible']=="1"){
		$striga_vis = " <a href=\"javascript:area.status_change('{$value['id']}', '0')\"><img src=\"".base_url()."img/icone_default/attivo.png\" border=0 title=\"Attivo\"></A> ";
	}
	else{
		$striga_vis = " <a href=\"javascript:area.status_change('{$value['id']}', '1')\"><img src=\"".base_url()."img/icone_default/non_attivo.png\" border=0 title=\"Non Attivo\"></A> ";
	}
?>
<tr bgcolor="#092642">
	<td class="testo_form_invia" style="padding : 10px; font-size : 13pt; font-weight : bold; font-variant:small-caps;"><?php echo $value['name'];?></td>
	<td align="right" style="padding : 10px;">
	<?php 
	echo "<a href=\"javascript:area.modify({$value['id']})\"><img src=\"".base_url()."img/icone_default/edit.png\" border=0 title=\"Modify\"></a>";
	echo $striga_vis ; ?>
	<a href="javascript:area.delete(<?php echo $value['id'];?>)" class="link_10"><img src="<?php echo base_url()."img/icone_default/cancel_a.png"; ?>" title="Delete Area"></a> </td>
</tr>

<tr>
	<td colspan=2 id="operazioni_area_<?php echo $value['id'];?>" style="padding : 1px ; "></td>
</tr>
<tr>
	<td height=10 colspan=2></td>
</tr>
<?php
}
?>
</table>
